package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
//定义配置类
@Configuration
//扫描com.itheima下的类
@ComponentScan("com.itheima")
//加载jdbc配置文件
@PropertySource("classpath:jdbc.properties")

@Import(JDBCConfig.class)
public class SpringConfig {
}
